package com.smart.campus.school.domain;

import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * app版本管理对象 sc_app_version
 * 
 * @author Zhihe.Li
 * @date 2021-06-23
 */
@Data
public class AppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 下载地址 */
    @Excel(name = "下载地址")
    private String url;

  //  private MultipartFile file;


    public AppVersion() {
    }

    public AppVersion(String version, Date createDate, String url) {
        this.version = version;
        this.createDate = createDate;
        this.url = url;
    }
}
